package cn.yunhe.hom2;

public class My_Test {
    public static void main(String[] args) {
        Dog dog = new Dog("小狗",5,"白色","二哈");
        Cat cat =new Cat("小猫",3,"黄色",30.2f);
        dog.playWithOwner();
        dog.kanMen();
        cat.playWithOwner();
        cat.zhuaLaoShu();
    }
}
